package com.qidian.mes.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Author 刘泽磊
 * @Company 起点编程
 * @Description
 * @Time 2024/10/17 18:45
 */
@HeadRowHeight(25)//表头行高
@ContentRowHeight(20)//内容行高
@ColumnWidth(40)
public class Ledger {
    @ExcelProperty(value = "编号",index=0)
    private Long ledgerId;
    @ExcelProperty(value = "编码",index=1)
    private String ledgerEncode;
    @ExcelProperty(value = "名称",index=2)
    private String ledgerName;
    @ExcelProperty(value = "品牌",index=3)
    private String ledgerBrand;
    @ExcelProperty(value = "型号",index=4)
    private String ledgerModel;
    @ExcelProperty(value = "状态",index=5)
    private Integer ledgerStatus;
    @ExcelProperty(value = "创建时间",index=6)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ExcelProperty(value = "备注",index=7)
    private String ledgerRemark;
    @ExcelProperty(value = "所属车间",index=8)
    private String ledgerWorkshop;
    @ExcelProperty(value = "类型",index=9)
    private String ledgerType;
    private Integer ledgerScms;
    private Long scmsId;

    public Long getScmsId() {
        return scmsId;
    }

    public void setScmsId(Long scmsId) {
        this.scmsId = scmsId;
    }

    public Integer getLedgerScms() {
        return ledgerScms;
    }

    public void setLedgerScms(Integer ledgerScms) {
        this.ledgerScms = ledgerScms;
    }

    public Long getLedgerId() {
        return ledgerId;
    }

    public void setLedgerId(Long ledgerId) {
        this.ledgerId = ledgerId;
    }

    public String getLedgerEncode() {
        return ledgerEncode;
    }

    public void setLedgerEncode(String ledgerEncode) {
        this.ledgerEncode = ledgerEncode;
    }

    public String getLedgerName() {
        return ledgerName;
    }

    public void setLedgerName(String ledgerName) {
        this.ledgerName = ledgerName;
    }

    public String getLedgerBrand() {
        return ledgerBrand;
    }

    public void setLedgerBrand(String ledgerBrand) {
        this.ledgerBrand = ledgerBrand;
    }

    public String getLedgerModel() {
        return ledgerModel;
    }

    public void setLedgerModel(String ledgerModel) {
        this.ledgerModel = ledgerModel;
    }

    public Integer getLedgerStatus() {
        return ledgerStatus;
    }

    public void setLedgerStatus(Integer ledgerStatus) {
        this.ledgerStatus = ledgerStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLedgerRemark() {
        return ledgerRemark;
    }

    public void setLedgerRemark(String ledgerRemark) {
        this.ledgerRemark = ledgerRemark;
    }

    public String getLedgerWorkshop() {
        return ledgerWorkshop;
    }

    public void setLedgerWorkshop(String ledgerWorkshop) {
        this.ledgerWorkshop = ledgerWorkshop;
    }

    public String getLedgerType() {
        return ledgerType;
    }

    public void setLedgerType(String ledgerType) {
        this.ledgerType = ledgerType;
    }
}
